/**
 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.vijayan.profile.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the FamilyMember service. Represents a row in the &quot;kalyan_family_member&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.vijayan.profile.model.impl.FamilyMemberModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.vijayan.profile.model.impl.FamilyMemberImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a family member model instance should use the {@link FamilyMember} interface instead.
 * </p>
 *
 * @author vijayan
 * @see FamilyMember
 * @see com.vijayan.profile.model.impl.FamilyMemberImpl
 * @see com.vijayan.profile.model.impl.FamilyMemberModelImpl
 * @generated
 */
public interface FamilyMemberModel extends BaseModel<FamilyMember> {
	/**
	 * Gets the primary key of this family member.
	 *
	 * @return the primary key of this family member
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this family member
	 *
	 * @param pk the primary key of this family member
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the member id of this family member.
	 *
	 * @return the member id of this family member
	 */
	public long getMemberId();

	/**
	 * Sets the member id of this family member.
	 *
	 * @param memberId the member id of this family member
	 */
	public void setMemberId(long memberId);

	/**
	 * Gets the profile id of this family member.
	 *
	 * @return the profile id of this family member
	 */
	public long getProfileId();

	/**
	 * Sets the profile id of this family member.
	 *
	 * @param profileId the profile id of this family member
	 */
	public void setProfileId(long profileId);

	/**
	 * Gets the member name of this family member.
	 *
	 * @return the member name of this family member
	 */
	@AutoEscape
	public String getMemberName();

	/**
	 * Sets the member name of this family member.
	 *
	 * @param memberName the member name of this family member
	 */
	public void setMemberName(String memberName);

	/**
	 * Gets the relationship of this family member.
	 *
	 * @return the relationship of this family member
	 */
	@AutoEscape
	public String getRelationship();

	/**
	 * Sets the relationship of this family member.
	 *
	 * @param relationship the relationship of this family member
	 */
	public void setRelationship(String relationship);

	/**
	 * Gets the married of this family member.
	 *
	 * @return the married of this family member
	 */
	public boolean getMarried();

	/**
	 * Determines whether this family member is married.
	 *
	 * @return whether this family member is married
	 */
	public boolean isMarried();

	/**
	 * Sets whether this {$entity.humanName} is married.
	 *
	 * @param married the married of this family member
	 */
	public void setMarried(boolean married);

	/**
	 * Gets the available of this family member.
	 *
	 * @return the available of this family member
	 */
	public boolean getAvailable();

	/**
	 * Determines whether this family member is available.
	 *
	 * @return whether this family member is available
	 */
	public boolean isAvailable();

	/**
	 * Sets whether this {$entity.humanName} is available.
	 *
	 * @param available the available of this family member
	 */
	public void setAvailable(boolean available);

	/**
	 * Gets a copy of this family member as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public FamilyMember toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(FamilyMember familyMember);

	public int hashCode();

	public String toString();

	public String toXmlString();
}